<template>
    <div class="father">

        <h2>{{ title.title }}</h2>
        <slot></slot>
    </div>
</template>

<script setup lang="ts" name="Category">

let title =  defineProps(['title'])


</script>

<style scoped>
.father {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
}
</style>
